﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WindowsFormsView;

namespace WindowsFormsPresenter.RestaurantMenuCategory
{
    public class RestaurantMenuCategoriesPresenter : Presenter<IRestaurantMenuCategoriesView>
    {
        public RestaurantMenuCategoriesPresenter(IRestaurantMenuCategoriesView view)
            : base(view)
        {
        }

        public void DisplayByBranch()
        {
            View.RestaurantMenuCategories = Model.GetRestaurantMenuCategoriesByBranch();
        }

        public void DisplayActiveByBranch()
        {
            View.RestaurantMenuCategories = Model.GetRestaurantMenuCategoriesActiveByBranch();
        }
    }
}
